package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Customer;
import cn.wolfcode.crm.page.PageResult;
import cn.wolfcode.crm.query.CustomerQueryObject;

import java.util.List;

public interface ICustomerService {
    List<Customer> list();
    List<Customer> selectAll();
    PageResult query(CustomerQueryObject qo);
    void insert(Customer customer);
    void updateByPrimaryKey(Customer customer);
    Customer selectByPrimaryKey(Long custId);
    void updateByName(Long customerId, String customerName);
    void lostCustomerById(Long id);
    void shareCustomerById(Long id);
    void absorbCustomerById(Long id);
    void formalCustomerById(Long id);
}
